#!/usr/bin/python
# -*- coding: UTF-8 -*-
# author : bird.zhang@ximalaya.com

import pysolr

# http://192.168.3.37:12140/search-platform-public-server/liveroom171109/select?indent=on&q=*:*&wt=json
solr = pysolr.Solr('http://192.168.3.37:12140/search-platform-public-server/liveroom171109/', timeout=10)
results = solr.search('*:*')
print(len(results))
